//
//  AppointmentTimeCell.m
//  ImGuider
//
//  Created by 王鹏宇 on 2017/12/15.
//  Copyright © 2017年 AudioCtrip. All rights reserved.
//

#import "AppointmentTimeCell.h"
#import "CalendarSelectedVC.h"
@implementation AppointmentTimeCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    
    UITapGestureRecognizer * tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(goSelectCalendar)];
    
    self.timeNameLabel.textColor = kSubitleColor;
    self.appointTimeLabel.textColor = kContentColor;
    
    [self.contentView addGestureRecognizer:tap];
}

- (void)goSelectCalendar{
    
    if (_delegate && [_delegate respondsToSelector:@selector(goSelectCalendar)]) {
        [_delegate goSelectCalendar];
    }
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
